package lecture;

import java.util.ArrayList;

import course.Course;

public class Lecture {
	
	// Primary key section
	private long id;
	
	// Storable parameters section
	private Integer number;
	private String name;
	private Long dateTime;
	private String comment;

	// Foreign key section
	private Long courseId;
	
	// Objects section
	private Course cr;
	
	// Lists section
	private ArrayList<Attendance> attendanceList = new ArrayList<Attendance>();
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getDateTime() {
		return dateTime;
	}
	public void setDateTime(Long dateTime) {
		this.dateTime = dateTime;
	}

	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Course getCr() {
		return cr;
	}
	public void setCr(Course cr) {
		this.cr = cr;
	}
	public ArrayList<Attendance> getAttendanceList() {
		return attendanceList;
	}
	public void setAttendanceList(ArrayList<Attendance> attendanceList) {
		this.attendanceList = attendanceList;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Long getCourseId() {
		return courseId;
	}
	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}
}